package com.ningxia.water.service;

import com.ningxia.water.entity.TsApplicantInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ningxia.water.vo.out.ApplicantInfoVo;
import com.ningxia.water.vo.out.ReportVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hz
 * @since 2021-05-14
 */
public interface ITsApplicantInfoService extends IService<TsApplicantInfo> {

    /**
     * 获取用水户信息
     * @param applicantName
     * @return
     */
    List<ApplicantInfoVo> getApplicantInfo(String applicantName, Integer zoneId, Integer zoneType);

    /**
     * 获取用水户用水信息
     * @param type
     * @param currentTime
     * @return
     */
    List<ReportVo> getApplicantStatistical(String type, String currentTime);
}
